public class AudioPlayer implements MediaPlayer{
    @Override
    public void play(String audioType) {
		if(audioType.equalsIgnoreCase("mp3")){
             System.out.println("play mp3");
        }else if (audioType.equalsIgnoreCase("vlc")||audioType.equalsIgnoreCase("mp4")) {
            new MediaAdapter(audioType).play(audioType);
        } else {
            System.out.println("invalid audio type: " + audioType);
        }
        
    }
}
